package com.lvan.schedule.task;

import org.springframework.stereotype.Component;

@Component("workTask")
public class WorkTask {

    public void taskWithParams(String param1, String param2) {
        System.out.println("Running with params task: " + param1 + "," + param2);
    }

    public void taskNoParams() {
        System.out.println("Running not Params task");
    }
}
